var name = "Aura Destruction";
var description = "Canalises a large amount of aura and shoots an energy beam towards the target.";
var elements = java.util.EnumSet.allOf(Packages.base.Elements);
var status = java.util.EnumSet.noneOf(Packages.base.Status);
var type = "aura";
var target = "character";

function onCast(skill, character) {
    
}

function onHitCharacter(skill, charCast, charHit) {
    
}

function onHitWorld(skill, character) {
    
}

// Skill magical damage
function magicDamage(skill, character) {
    return parseInt(character.magicAttack() * (3.0 + skill.getLevel() / 7.0));
}

// Change in characters SPIRIT
function spirit(skill, character) {
    var up = 0;
    var down = skill.getLevel() * 80;
    
    return intParse(up - down);
}